package com.antcom.antread.antreaddatacrawl.himalayaData.service;

import com.antcom.antread.antreaddatacrawl.himalayaData.dto.Slideshow;
import com.antcom.antread.antreaddatacrawl.himalayaData.entity.BookInfo;

import java.util.List;
import java.util.Optional;

/**
 * Created by IntelliJ IDEA.
 *
 * @Author 中国蚂蚁技术有限公司
 * @create 2020/12/1 19:07
 */
public interface BookInfoService {

    void downBookInfo(String bookName, String condition, String page);

    void downChapterInfo(String id);

    void downBcMiddle(String id, String sign);

    void downAudio(String sign, Integer start, Integer end);

    Optional<BookInfo> findBook(String id);

    List<BookInfo> getBook(String bookName);

    void downLocalUrl(String filePath, String dirPath, String sign);

}
